﻿using System.Reflection;

namespace CredentialsManager.ViewModels
{
    public class WorkspaceViewModelBase : ViewModelBase
    {
        #region Private member variables

        private bool m_IsSelected = false;

        #endregion

        #region Constructor

        public WorkspaceViewModelBase()
            : base()
        { }

        #endregion

        #region Public properties

        public bool IsSelected
        {
            get
            {
                return m_IsSelected;
            }
            set
            {
                m_IsSelected = value;
                RaisePropertyChanged(MethodBase.GetCurrentMethod().GetPropertyName());
            }
        }

        #endregion
    }
}
